//
//  SoftwareMenu.h
//  QuDownloader
//
//  Created by Thomas on 10/8/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

//#import <Cocoa/Cocoa.h>
#import <Foundation/Foundation.h>
#import <BackRow/BackRow.h>


@interface SoftwareMenu : BRMediaMenuController 
{
	int padding[16];
	NSString *	identifier;
	NSString *	name;
	NSString *	path;
	NSString *	urlstr;
	NSString *	version;
	BOOL		EXISTS;
	//NSString *	current_vers;
	//NSString *	bak_vers;
	BOOL		UPTODATE;
	BOOL		BAK_EXISTS;
	
	NSMutableArray *	_items;
	NSMutableArray *	_options;
	NSFileHandle   *	log;
	
}

-(void)writeToLog:(NSString *)strLog;
-(id)initWithIdentifier:(NSString *)initId withName:(NSString *)initName withURLStr:(NSString *)initurlstr withVers:(NSString *)initVers;
/*-(void)removeFrap;
-(void)restoreFrap;
-(void)downloadAndInstall;
-(void)updateFrap;*/
-(void)checkVarious;

// Data source methods:
-(float)heightForRow:(long)row;
-(BOOL)rowSelectable:(long)row;
-(long)itemCount;
-(id)itemForRow:(long)row;
-(long)rowForTitle:(id)title;
-(id)titleForRow:(long)row;


@end
